package com.borya.dao;

import com.alibaba.fastjson.JSONObject;
import com.borya.model.db.*;

import java.util.Optional;

public interface SdkAppDao extends BaseDAO{
    /**
     * 获取单点结算侧对应卡盟侧的用户信息
     **/
    User getSdkAppUser(String userId, Integer detailType);

    /**
     * 查询商户
     *
     * @param content
     * @return
     */
    Merchant getMerchant(String content, int type);

    ShqpInfo getShqpInfo(String dealerId);

    User getUser(String phone, int typePhone);

    JSONObject getLivingCheckFlagInfo();

    Optional<UserClientDetail> getUserClientDetailByUser(String userId);


}
